import request from './http'
//赛事数据
export function getCompetition(tabid){
    return request({
        url:"/excuse/match/football/list/page",
        method:"post",
        data:{"sportId":"1","listType":tabid,"pageSize":30,"pageNum":1,"condition":"0","date":"2022-11-30"}
    })
}
// 赛果数据
// export function getResults(){
//     return request({
//         url:"/excuse/match/football/list/page",
//         method:"post",
//         data:{"sportId":"1","listType":2,"pageSize":30,"pageNum":1,"condition":"0","date":"2022-11-28"}
//     })
// }


export function getDetailsMatch(MatchId){
    return request({
        url:"/excuse/match/list/details",
        method:"post",
        data:{"sportId":1,"matchId":MatchId}
    })
}